import React from 'react';
import ReactDOM from 'react-dom';
import { ConfigProvider } from 'antd';
// 由于 antd 组件的默认文案是英文，所以需要修改为中文
import zhCN from 'antd/es/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
import 'antd/dist/antd.css';
import './index.css';

import store from './store/store.js';
import App from './containers/App'

moment.locale('zh-cn');


// 把中文模式穿进去
ReactDOM.render(
  <ConfigProvider locale={zhCN}>
    <App store={store}  />
  </ConfigProvider>, document.getElementById('root'));